<style>
    .tips {
        color: red;
    }
    .form-content {
        padding: 20px;
    }
</style>

<form action="{:sysuri()}" data-table-id="FormTable" class="layui-form layui-card" data-auto="true" method="post" style="height:500px;overflow:scroll;">
<div class="layui-form layui-card form-content">
    <div class="layui-tab">

        <div class="layui-form-item">
            <label class="layui-form-label"><span class="tips">*</span>发件人：</label>
            <div class="layui-input-block">
                <div class="layui-col-md4">
                    <select name="addresser_id" placeholder="请选择">
                        {foreach $vo.addresser_lists as $type}
                        <option value="{$type.id}">{$type.name}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">快递公司：</label>
            <div class="layui-input-block">
                <div class="layui-col-md4">
                    <select name="express_id" placeholder="请选择" lay-filter="express_id">
                        {foreach $vo.express_lists as $tk=>$type}
                        <option value="{$type.id}">{$type.name}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">模板类型：</label>
            <div class="layui-input-block">
                <div class="layui-col-md4">
                    <select name="type_id" placeholder="请选择" lay-filter="type_id">
                        {foreach ['主单模板','子单模板'] as $tk=>$type}
                        <option value="{$tk}">{$type}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联单类型：</label>
            <div class="layui-input-block">
                <div class="layui-col-md4">
                    <select name="num" placeholder="请选择" lay-filter="num">
                        {foreach ['1'=>'快递一联','2'=>'快递二联','3'=>'快递三联'] as $tk=>$type}
                        <option value="{$tk}">{$type}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="tips">*</span>面单模板：</label>
            <div class="layui-input-block">
                <div class="layui-col-md4">
                    <select name="template_id" placeholder="请选择">
                        <option value="0">选择面单模板</option>
                        {foreach $vo.template_lists as $type}
                        <option value="{$type.id}">{$type.title}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
    </div>
         <div class="layui-form-item text-center">
             <input name="order_no" value="{$order_no}" type="hidden">
            <button class="layui-btn" type="submit">保存</button>
        </div>
</div>
</form>
